#ifndef ADDGDBDIALOG_H
#define ADDGDBDIALOG_H

#include <QDialog>
#include <QPushButton>
#include <QComboBox>
#include <QLineEdit>
#include <QFormLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QStringList>
#include "util/appevent.h"
#include "Geo/map/geofielddefn.h"
#include "SQL/sqloperator.h"

namespace Ui {
class AddGDBDialog;
}

class AddGDBDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AddGDBDialog(QStringList GDBListIn,QWidget *parent = nullptr);
    ~AddGDBDialog();
    void iniMainDialog();
signals:
    void sigAddGDBData(QString GDBName);
private slots:
    void on_btnOK_clicked();
    void on_btnCancel_clicked();
private:
    QComboBox *comboxGDBList;

    QPushButton *btnOK;
    QPushButton *btnCancel;

    QStringList GDBList;
private:
    Ui::AddGDBDialog *ui;
};

#endif // ADDGDBDIALOG_H
